package com.lxq.test2109.main02;

import java.util.HashMap;
import java.util.Scanner;

public class Main {
    static boolean f1,f2,f3;
    static HashMap<Integer,Integer> numType = new HashMap<>();//<type,time>
    public static int isUnZeroPart(String s){
        String[] sp = s.split("");
        int partNum = s.split("0").length;
        return partNum;
    }
    public static void main(String[] args) {
//        Scanner sc = new Scanner(System.in);
//        int n = sc.nextInt();
//        int[] numList = new int[n];
//        for (int i=0 ; i<n ; i++){
//            int temp = sc.nextInt();
//            numList[i] = temp;
//            numType.put(temp,0);
//        }//O(n)

        System.out.println(isUnZeroPart("10110011"));


    }
}
